<%--
  Created by IntelliJ IDEA.
  User: sxs
  Date: 2020/8/6
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="sxs"%>
<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>后台管理系统</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="${AppPath}/css/font.css">
    <link rel="stylesheet" href="${AppPath}/css/index.css">
    <link rel="stylesheet" href="${AppPath}/css/iconfont.css">
    <script src="${AppPath}/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${AppPath}/js/index.js"></script>

</head>
<body class="index">
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            <li>
                   <a href="javascript:;" onclick="xadmin.add_tab('我的桌面','${AppPath}/welcome.jsp')">
                    <i class="layui-icon left-nav-li" lay-tips="首页">&#xe68e;</i>
                    <cite>首页</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>

            </li>

            <sxs:forEach items="${tree}" var="power">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont left-nav-li" lay-tips="${power.powerNmae}">&#xe6a2;</i>
                        <cite>${power.powerNmae}</cite>
                        <i class="iconfont nav_right">&#xe697;</i></a>
                    <sxs:forEach var="p" items="${power.children}">
                        <ul class="sub-menu">
                            <li>
                                <a onclick="xadmin.add_tab('${p.powerNmae}','${AppPath}/'+'${p.powerUrl}')">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>${p.powerNmae}</cite></a>
                            </li>

                        </ul>

                    </sxs:forEach>


                </li>

            </sxs:forEach>





        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
</body>

<script src="${AppPath}/js/jquery.min.js"></script>

</html>

